package com.wissen.visitor;
/**
 * this is visitor gone class having 3 methods
 * @author wissen16
 */
public class VisitorGone implements Visitor1 {
	/**
	 * visit to kashmir 
	 * @param s Kashmir class Object
	 */
	   public void visit(Kashmir  s) {
		   System.out.println( "100 Visitors leaves " + s.name() );
	   }
	   /**
		 * visit to Uttaranchal 
		 * @param s Uttaranchal class Object
		 */
		  
	   public void visit(Uttaranchal  s) {
		   System.out.println( "200 Visitors leaves " + s.name() );
	   }	
	   /**
		 * visit to Himachal 
		 * @param s Himachal class Object
		 */
	   public void visit(Himachal s) {
			   System.out.println( "200 Visitors leaves " + s.name() );
	   }
}
